import request from '@/utils/request'

export const doAddReq = (param) => {
    return request.post('/user/add', param)
}

export const listUserReq = () => {
    return request.post('/user/list', {})
} 

export const deleteUserReq = (loginName) => {
    return request.post('/user/delete', {
        loginName
    })
}

export const updateUserReq = (param) => {
    return request.post('/user/update', param)
}